<template>
  <div>我是你爸爸啊</div>
</template>
<script lang="ts">
export default {
  name: 'homePage'
}
</script>
<script lang="ts">
import { useRoute } from 'vue-router'
const route = useRoute() // router是执行跳转的 route是路由信息,路由信息就包括了所有的跳转传参
</script>
<style scoped></style>
